<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<script type="text/javascript" src="/js/user/userinfo.js"></script>
<script type="text/javascript" src="/js/user/share.js"></script>

<div class="heeader">
    <!--头部注册及登录-->
    <div class="topcon">
        <div class="top_content">
            <div class="reg_login fl">
                百顺通云欢迎您<b>|</b><a href="/user/login" class="loginRegist">登录</a><b class="loginRegist">|</b><a class="loginRegist" href="/user/registerWay">注册</a>
              <a id="loginName" class="loginSuccess" style="display:none">
              	<c:if test="${loginWay=='email'}">${userInfo.userEmail}</c:if>
            	<c:if test="${loginWay=='tel'}">${userInfo.userTel}</c:if>
              </a><b class="loginSuccess" style="display:none">|</b><a id="exit" href="/user/exit" class="loginSuccess" style="display:none">退出</a>
            </div>
            <div class="top_nav fr">
                <a href="/buy/shoppingCart"><img src="/images/user/shopping.png" >(<c:if test="${cartInfo.sumNum == null}">0</c:if><c:if test="${cartInfo.sumNum != null}">${cartInfo.sumNum}</c:if>)</a>&nbsp;&nbsp;
                <a href="/">商城首页</a><b>|</b><a href="/user/userCenter/index" >会员中心</a><b>|</b><a href="/finance/myAccount">充值中心</a>
                <b>|</b><a href="/service">帮助</a><b>|</b><a href="/myservice/order/upgradeManage">升级</a><b>|</b><a href="/myservice/order/renewManage">续费</a>
            </div>
        </div>
    </div>
    <!--头部注册及登录结束-->

    <!--logo搜索及电话-->
    <div class="logon_tel_con">
        <div class="nav_wrap">
            <div class="logo_con fl">
                <a href="/">
                    <img src="/images/user/logo.png" width="152" height="60" />
                </a>
            </div>
            <ul class="fl">
                <c:forEach items="${menus}" var="menu" varStatus="status">
                	<li>
                     <a href="${menu.menuUrl}">
                         <span>${menu.menuName}</span>
                     </a>
                 </li>
                </c:forEach>
            </ul>
        </div>
    </div>
    <!--logo搜索及电话结束--> 
</div>

